package gameengine;

import gameengine.map.MapInstance;
import gameengine.opponents.AbstractOpponent;

import java.util.List;

public final class Game {
    public enum OPPONENT {
        AI
    };

    private final Core gameEngine;

    public Game(final String folder, final List<AbstractOpponent> opponents) {
        final MapProperty mp = new MapProperty(folder);
        gameEngine = new Core(mp, opponents);
    }

    public void addInterface(final MapInstance mi) {
        gameEngine.addObserver(mi);
    }
}
